package org.spring.aicloud.DTO;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import org.spring.aicloud.entity.User;

import java.io.Serializable;

/**
 * @author yexiebao
 * @date 2025/5/8
 */
@Data
public class UserDTO extends User implements Serializable {
    // 序列化版本号
    private static final long serialVersionUID = 432456789012345678L;
    @NotBlank(message = "验证码不能为空")
    private String captcha;

    public String getCaptcha() {
        return captcha;
    }

    public void setCaptcha(String captcha) {
        this.captcha = captcha;
    }
}